package cn.jinjimi.app.entity;

import java.util.List;

/**
 * Created by Jinsen on 2015/6/2.
 */
public class TaskListBean {
    /**
     {
     "tasks": [
     {
     "name": "坚持每天分享3篇文章",
     "action_count": 3,
     "action_record_count": 0,
     "action_type": 1,
     "task_icon_url": "http://7u2ikv.com2.z0.glb.clouddn.com/icon_book.png",
     "tips": {
     "content": "抓住大众刷朋友圈的高峰时间分享",
     "image_url": "http://7u2ikv.com2.z0.glb.clouddn.com/guanggao.jpg"
     }
     },
     {
     "name": "每天管理2个新开拓客户",
     "action_count": 2,
     "action_record_count": 2,
     "action_type": 3,
     "task_icon_url": "http://7u2ikv.com2.z0.glb.clouddn.com/icon_client.png",
     "tips": null
     },
     {
     "name": "每天分享3个保险方案给准客户",
     "action_count": 3,
     "action_record_count": 0,
     "action_type": 2,
     "task_icon_url": "http://7u2ikv.com2.z0.glb.clouddn.com/icon_fangan.png",
     "tips": null
     }
     ]
     }
     */

    private List<TaskBean> tasks;

    public List<TaskBean> getTasks() {
        return tasks;
    }

    public void setTasks(List<TaskBean> tasks) {
        this.tasks = tasks;
    }

    public class TaskBean{
        private String name;
        private int action_count;
        private int action_record_count;
        private int action_type;
        private String action_name;
        private String task_icon_url;
        private TipsBean tips;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getAction_count() {
            return action_count;
        }

        public void setAction_count(int action_count) {
            this.action_count = action_count;
        }

        public int getAction_record_count() {
            return action_record_count;
        }

        public void setAction_record_count(int action_record_count) {
            this.action_record_count = action_record_count;
        }

        public int getAction_type() {
            return action_type;
        }

        public void setAction_type(int action_type) {
            this.action_type = action_type;
        }

        public String getAction_name() {
            return action_name;
        }

        public void setAction_name(String action_name) {
            this.action_name = action_name;
        }

        public String getTask_icon_url() {
            return task_icon_url;
        }

        public void setTask_icon_url(String task_icon_url) {
            this.task_icon_url = task_icon_url;
        }

        public TipsBean getTips() {
            return tips;
        }

        public void setTips(TipsBean tips) {
            this.tips = tips;
        }
    }

    public class TipsBean{
        private String content;
        private String image_url;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImage_url() {
            return image_url;
        }

        public void setImage_url(String image_url) {
            this.image_url = image_url;
        }
    }
}
